package com.pcbly.web.bean.crm;

import org.apache.commons.lang.builder.EqualsBuilder;
import org.apache.commons.lang.builder.HashCodeBuilder;
import org.apache.commons.lang.builder.ToStringBuilder;
import org.apache.commons.lang.builder.ToStringStyle;

import com.pcbly.web.bean.AbstractBaseBean;

/**
 * 产品类
 * @author liyt
 *
 */
public class ProductBean  extends AbstractBaseBean{

	/**
	 * 
	 */
	private static final long serialVersionUID = 7056952885212906144L;
	private String productId;  //产品系统编码
	private String productXh;  //产品型号
	private String productName;//产品名称
	private String productKind;//产品分类
	
	private String gysbh;      //供应商编号
	private String gysmc;      //供应商名称
	
	private String img;        //产品图片地址
	private String ms;         //产品描述
	private String prop;       //产品属性(库存商品，服务/劳务)
	
	private String dw;
	
	private double price;      //成本价
	private double fxxj;       //分销限价
	private double lsxj;       //零售限价
	private double gf;         //工分
	private double dss;        //点杀数
	private double lsbj;       //零售报价
	
	private double fxbj;       //分销报价
	private String spTxm;      //商品条形码
	private double khcbj;      //考核成本价

	
	private int kcxx;          //库存下限
	private int kcsx;          //库存上限
	private String state;          //状态
	
	private String qzSerialNum; //强制序列号
	
	public String getGysbh() {
		return gysbh;
	}
	public void setGysbh(String gysbh) {
		this.gysbh = gysbh;
	}
	public String getGysmc() {
		return gysmc;
	}
	public void setGysmc(String gysmc) {
		this.gysmc = gysmc;
	}
	public String getImg() {
		return img;
	}
	public void setImg(String img) {
		this.img = img;
	}
	public String getMs() {
		return ms;
	}
	public void setMs(String ms) {
		this.ms = ms;
	}
	public String getProductId() {
		return productId;
	}
	public void setProductId(String productId) {
		this.productId = productId;
	}
	public String getProductKind() {
		return productKind;
	}
	public void setProductKind(String productKind) {
		this.productKind = productKind;
	}
	public String getProductName() {
		return productName;
	}
	public void setProductName(String productName) {
		this.productName = productName;
	}
	public String getProp() {
		return prop;
	}
	public void setProp(String prop) {
		this.prop = prop;
	}
	public String getDw() {
		return dw;
	}
	public void setDw(String dw) {
		this.dw = dw;
	}
	public String getProductXh() {
		return productXh;
	}
	public void setProductXh(String productXh) {
		this.productXh = productXh;
	}
	public double getPrice() {
		return price;
	}
	public void setPrice(double price) {
		this.price = price;
	}
	public double getDss() {
		return dss;
	}
	public void setDss(double dss) {
		this.dss = dss;
	}
	public double getFxxj() {
		return fxxj;
	}
	public void setFxxj(double fxxj) {
		this.fxxj = fxxj;
	}
	public double getGf() {
		return gf;
	}
	public void setGf(double gf) {
		this.gf = gf;
	}
	public double getLsxj() {
		return lsxj;
	}
	public void setLsxj(double lsxj) {
		this.lsxj = lsxj;
	}
	public int getKcsx() {
		return kcsx;
	}
	public void setKcsx(int kcsx) {
		this.kcsx = kcsx;
	}
	public int getKcxx() {
		return kcxx;
	}
	public void setKcxx(int kcxx) {
		this.kcxx = kcxx;
	}
	public String getState() {
		return state;
	}
	public void setState(String state) {
		this.state = state;
	}
	public double getLsbj() {
		return lsbj;
	}
	public void setLsbj(double lsbj) {
		this.lsbj = lsbj;
	}
	 
	public double getFxbj() {
		return fxbj;
	}
	public void setFxbj(double fxbj) {
		this.fxbj = fxbj;
	}
	public double getKhcbj() {
		return khcbj;
	}
	public void setKhcbj(double khcbj) {
		this.khcbj = khcbj;
	} 
	/**
	 * @see java.lang.Object#equals(Object)
	 */
	public boolean equals(Object object) {
		return EqualsBuilder.reflectionEquals(this, object);
	}

	/**
	 * @see java.lang.Object#hashCode()
	 */
	public int hashCode() {
		return HashCodeBuilder.reflectionHashCode(this);
	}

	/**
	 * @see java.lang.Object#toString()
	 */
	public String toString() {
		return ToStringBuilder.reflectionToString(this,
				ToStringStyle.MULTI_LINE_STYLE);
	}
	public void setSpTxm(String spTxm) {
		this.spTxm = spTxm;
	}
	public String getSpTxm() {
		return spTxm;
	}
	public void setQzSerialNum(String qzSerialNum) {
		this.qzSerialNum = qzSerialNum;
	}
	public String getQzSerialNum() {
		return qzSerialNum;
	}
}
